<% search_type = nil if not defined?(search_type) -%>
<% current_page = nil if not defined?(current_page) -%>
<div id="head">
     <div class="logo"><img src="/images/logo.jpg" /></div>
     <%= render :partial => "/partial/search", :locals => { :search_type => search_type}%>
	 <%class_name = class_name.nil? ? "nav_bar" : class_name %>
	 <div class="<%=class_name%>"> 
     	<ul>           
        	<li class="<%=current_page== 'index' ? 'select' : ''%>"><%= link_to "首页", SITE%></li>
          	<li class="<%=current_page== 'requirement' ? 'select' : ''%>"><%= link_to "创意需求",:action => :index, :controller => "/site/requirement"%></li>
          	<li class="<%=current_page== 'design' ? 'select' : '' %>"><%= link_to "创意设计",:action => :index, :controller => "/site/design"%></li>
          	<li class="<%=current_page== 'info' ? 'select' : '' %>"><%= link_to "创意资讯",:action => :index, :controller => "/site/info"%></li>
          	<li class="<%=current_page%>"><a href="#">创意CLUB</a></li>
          	<li class="<%=current_page%>"><a href="#">高校创意</a></li>           
        </ul>	          
     </div>
</div>